package kin.annotation.system;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(value = ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)

//复合主键处理
public @interface EmbeddedIdColumn {
	
	//字段名
	abstract public String fieldName();
	
	abstract public int width() default 0;

	abstract public int height() default 0;
   
	abstract boolean serializable() default true;

	abstract boolean hidden() default false;

	abstract String xtype() default "textfield";

	abstract int sort() default 0;
	
	abstract String header();
    
	abstract String format() default "";

	//触发
	abstract Trigger[] triggers() default{};

	
	abstract String cls() default "";

	
	abstract String style() default "";

	abstract boolean editor() default true;

	
	abstract String vtype() default "";

	
	abstract String regexText() default "";

	
	abstract String regex() default "";
}
